package com.sdkj.dspservice.modules.report.service;

import com.sdkj.dspservice.common.base.service.CrudService;
import com.sdkj.dspservice.modules.report.entity.tem.PaginateWithQueryColumns;
import com.sdkj.dspservice.modules.report.entity.View;

import java.rmi.ServerException;

/**
 * 数据视图service
 * @author tm
 */
public interface ViewService extends CrudService<View> {

    /**
     * sql执行
     * @param view
     * @return
     * @throws ServerException
     */
    PaginateWithQueryColumns executeSql(View view) throws ServerException;

}
